{% extends "::base.html.twig" %}

{% block title %}Equipes du club - {{ parent() }}{% endblock %}

{% block stylesheets %}
    {{ parent() }}
    <link rel="stylesheet" href="{{ asset('/bundles/tabletennisteam/css/main.css') }}" type="text/css" media="screen" />
{% endblock %}

{% block title_page %}team{% endblock %}


{% block content %}

<h1 class="title">Liste de équipes du club</h1>

<ul>
 {% for team in teams_list %}
  <li class="t_{{ loop.index%2 }}">
   <h2>{{ team.name }}</h2>
   <img src='/images/default/no-image.png' title='Aperçu non disponible' alt='Aperçu non disponible' width='300' height='240' />
  </li>
 {% endfor %}
</ul>

{% endblock %}